﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000261 RID: 609
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueMoveCellNotify : IMessage<ChessRogueMoveCellNotify>, IMessage, IEquatable<ChessRogueMoveCellNotify>, IDeepCloneable<ChessRogueMoveCellNotify>, IBufferMessage
	{
		// Token: 0x1700080F RID: 2063
		// (get) Token: 0x06001B84 RID: 7044 RVA: 0x0004F597 File Offset: 0x0004D797
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueMoveCellNotify> Parser
		{
			get
			{
				return ChessRogueMoveCellNotify._parser;
			}
		}

		// Token: 0x17000810 RID: 2064
		// (get) Token: 0x06001B85 RID: 7045 RVA: 0x0004F59E File Offset: 0x0004D79E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueMoveCellNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000811 RID: 2065
		// (get) Token: 0x06001B86 RID: 7046 RVA: 0x0004F5B0 File Offset: 0x0004D7B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueMoveCellNotify.Descriptor;
			}
		}

		// Token: 0x06001B87 RID: 7047 RVA: 0x0004F5B7 File Offset: 0x0004D7B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMoveCellNotify()
		{
		}

		// Token: 0x06001B88 RID: 7048 RVA: 0x0004F5C0 File Offset: 0x0004D7C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMoveCellNotify(ChessRogueMoveCellNotify other) : this()
		{
			this.lGMOMDHGFOB_ = other.lGMOMDHGFOB_;
			this.cell_ = ((other.cell_ != null) ? other.cell_.Clone() : null);
			this.fKABGMJJKAO_ = other.fKABGMJJKAO_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001B89 RID: 7049 RVA: 0x0004F618 File Offset: 0x0004D818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMoveCellNotify Clone()
		{
			return new ChessRogueMoveCellNotify(this);
		}

		// Token: 0x17000812 RID: 2066
		// (get) Token: 0x06001B8A RID: 7050 RVA: 0x0004F620 File Offset: 0x0004D820
		// (set) Token: 0x06001B8B RID: 7051 RVA: 0x0004F628 File Offset: 0x0004D828
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LGMOMDHGFOB
		{
			get
			{
				return this.lGMOMDHGFOB_;
			}
			set
			{
				this.lGMOMDHGFOB_ = value;
			}
		}

		// Token: 0x17000813 RID: 2067
		// (get) Token: 0x06001B8C RID: 7052 RVA: 0x0004F631 File Offset: 0x0004D831
		// (set) Token: 0x06001B8D RID: 7053 RVA: 0x0004F639 File Offset: 0x0004D839
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CellInfo Cell
		{
			get
			{
				return this.cell_;
			}
			set
			{
				this.cell_ = value;
			}
		}

		// Token: 0x17000814 RID: 2068
		// (get) Token: 0x06001B8E RID: 7054 RVA: 0x0004F642 File Offset: 0x0004D842
		// (set) Token: 0x06001B8F RID: 7055 RVA: 0x0004F64A File Offset: 0x0004D84A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FKABGMJJKAO
		{
			get
			{
				return this.fKABGMJJKAO_;
			}
			set
			{
				this.fKABGMJJKAO_ = value;
			}
		}

		// Token: 0x06001B90 RID: 7056 RVA: 0x0004F653 File Offset: 0x0004D853
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueMoveCellNotify);
		}

		// Token: 0x06001B91 RID: 7057 RVA: 0x0004F664 File Offset: 0x0004D864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueMoveCellNotify other)
		{
			return other != null && (other == this || (this.LGMOMDHGFOB == other.LGMOMDHGFOB && object.Equals(this.Cell, other.Cell) && this.FKABGMJJKAO == other.FKABGMJJKAO && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001B92 RID: 7058 RVA: 0x0004F6C4 File Offset: 0x0004D8C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LGMOMDHGFOB != 0U)
			{
				num ^= this.LGMOMDHGFOB.GetHashCode();
			}
			if (this.cell_ != null)
			{
				num ^= this.Cell.GetHashCode();
			}
			if (this.FKABGMJJKAO != 0U)
			{
				num ^= this.FKABGMJJKAO.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001B93 RID: 7059 RVA: 0x0004F732 File Offset: 0x0004D932
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001B94 RID: 7060 RVA: 0x0004F73A File Offset: 0x0004D93A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001B95 RID: 7061 RVA: 0x0004F744 File Offset: 0x0004D944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LGMOMDHGFOB != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.LGMOMDHGFOB);
			}
			if (this.cell_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.Cell);
			}
			if (this.FKABGMJJKAO != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.FKABGMJJKAO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001B96 RID: 7062 RVA: 0x0004F7BC File Offset: 0x0004D9BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LGMOMDHGFOB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LGMOMDHGFOB);
			}
			if (this.cell_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Cell);
			}
			if (this.FKABGMJJKAO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FKABGMJJKAO);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001B97 RID: 7063 RVA: 0x0004F82C File Offset: 0x0004DA2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueMoveCellNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LGMOMDHGFOB != 0U)
			{
				this.LGMOMDHGFOB = other.LGMOMDHGFOB;
			}
			if (other.cell_ != null)
			{
				if (this.cell_ == null)
				{
					this.Cell = new CellInfo();
				}
				this.Cell.MergeFrom(other.Cell);
			}
			if (other.FKABGMJJKAO != 0U)
			{
				this.FKABGMJJKAO = other.FKABGMJJKAO;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001B98 RID: 7064 RVA: 0x0004F8A8 File Offset: 0x0004DAA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001B99 RID: 7065 RVA: 0x0004F8B4 File Offset: 0x0004DAB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 106U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.FKABGMJJKAO = input.ReadUInt32();
						}
					}
					else
					{
						if (this.cell_ == null)
						{
							this.Cell = new CellInfo();
						}
						input.ReadMessage(this.Cell);
					}
				}
				else
				{
					this.LGMOMDHGFOB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000B84 RID: 2948
		private static readonly MessageParser<ChessRogueMoveCellNotify> _parser = new MessageParser<ChessRogueMoveCellNotify>(() => new ChessRogueMoveCellNotify());

		// Token: 0x04000B85 RID: 2949
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000B86 RID: 2950
		public const int LGMOMDHGFOBFieldNumber = 2;

		// Token: 0x04000B87 RID: 2951
		private uint lGMOMDHGFOB_;

		// Token: 0x04000B88 RID: 2952
		public const int CellFieldNumber = 13;

		// Token: 0x04000B89 RID: 2953
		private CellInfo cell_;

		// Token: 0x04000B8A RID: 2954
		public const int FKABGMJJKAOFieldNumber = 14;

		// Token: 0x04000B8B RID: 2955
		private uint fKABGMJJKAO_;
	}
}
